package com.copm.ifm.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.copm.ifm.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 消息发送接口
 *
 * @author tp
 * @since 2021-01-04
 */
@Getter
@Setter
@ToString
@TableName("sys_message_send")
@ApiModel("消息发送接口")
public class SysMessageSend extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("通知方式")
    private String sendType;

    @ApiModelProperty("应用范围")
    private Integer useRange;

    @ApiModelProperty("发送接口")
    private String sendInterface;

    @ApiModelProperty("json配置")
    private String jsonConf;

    @ApiModelProperty("java定制类")
    private String javaConf;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

}
